<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@taglib prefix="b" uri="/WEB-INF/tld/blank.tld" %>
<div class="form-group col-md-5">
    <label>上架时间：</label>
    <input name="launchTime" type="text" onClick="WdatePicker()" class="form-control"/>
</div>
<div class="form-group col-md-6">
	<label>有效时间：</label>
    <input name="fromTime" type="text" onClick="WdatePicker()" class="form-control"/>-
    <input name="endTime" type="text" onClick="WdatePicker()" class="form-control"/>
</div>
<div class="clearfix"></div><br>
<div class="form-group col-md-5">
    <label><b:blank num="2"/>折扣：</label>
    <input name="discount" type="text" class="form-control"/>
</div>
<div class="form-group col-md-6">
	<label><b:blank num="2"/>售价：</label>
    <input name="listPrice" type="text" class="form-control"/>
</div>
<div class="clearfix"></div><br>
<div class="form-group col-md-5">
	<label>可售数量：</label>
    <input name="howManyToSell" type="text" class="form-control"/>
</div>
<div class="clearfix"></div><br>
<div class="form-group col-md-8">
	<label>支付方式：</label>
	<c:forEach items="${payTypes }" var="payType">
    	<input name="payway" type="checkbox" class="form-control" value="${payType.dictionaryId }"/>${payType.name }&nbsp;
    </c:forEach>
</div>
<div class="clearfix"></div><br>
<div class="form-group col-md-10">
	<label>促销政策：</label>
    <input tag="promotionPolicy" type="checkbox" class="form-control" value="153"/>&nbsp;满&nbsp;
    <input type="text" class="form-control">&nbsp;元,减&nbsp;
    <input type="text" class="form-control">&nbsp;元
    <br>
    <label><b:blank num="5"/></label>
    <input tag="promotionPolicy" type="checkbox" class="form-control" value="154"/>&nbsp;满&nbsp;
    <input type="text" class="form-control">&nbsp;元,送&nbsp;
    <input type="text" class="form-control">&nbsp;元
    <br>
    <label><b:blank num="5"/></label>
    <input tag="promotionPolicy" type="checkbox" class="form-control" value="155"/>&nbsp;满&nbsp;
    <input type="text" class="form-control">&nbsp;元,打&nbsp;
    <input type="text" class="form-control">&nbsp;折
</div>
<div class="clearfix"></div><br>
<div class="form-group col-md-2">
	<a href="javascript:;" class="btn btn-default" onclick="saveShelf();">保存</a>
	<a href="javascript:;" class="btn btn-default" onclick="saveShelfReturn();">返回</a>
</div>
<div class="clearfix"></div><br>
